<?php
include_once("./head.inc.php");
?>
<html>
<head>
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="cache-control" CONTENT="no-cache">
<LINK rel="stylesheet" href="style.css" type="text/css" charset="utf-8"/>
</head>
<body style="text-align:left" topmargin=0 leftmargin=0>
<!--span style="color:white;"></span-->
<select id="sources" style="padding:0;padding-top:-4px;height:24px" onchange="parent.leftFrame.document.location='list.php?path='+this.options[this.selectedIndex].value;">
<?php
foreach($sources as $name=>$path) $txt[]="<option value=\"".$name."\">".$name."</option>";
$str=join('<span style="color:white"> | </span>',$txt);
echo $str;
?>
</select>
<button  style="margin-top:4px" onclick="parent.leftFrame.document.location='list.php?path='+document.getElementById('sources').options[document.getElementById('sources').selectedIndex].value;"><img style="margin:0;padding:0" src="play.png"/></button>
</body>
</html>